package org.example.studentsystem_back.vo.buildingMangeVo;

import lombok.Data;
import org.example.studentsystem_back.domain.Building;

@Data
public class BuildingIdVo extends Building {
    private int suiId;
    public void setBuildingIdVo(Building building){
        this.setBuildingId(building.getBuildingId());
        this.setBuildingName(building.getBuildingName());
        this.setArea(building.getArea());
        this.setPhone(building.getPhone());
        this.setPeople(building.getPeople());
    }
}
